/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tcloudclient.UploadManager;

import api.Beans.UserLogin;
import api.action.ActionPackageClient;
import api.exception.TCloudAplicationException;
import tcloudclient.fileSystem.FileNode;

/**
 *
 * @author Tomas
 */
public interface ConnectionManagerInterface {
    
    public boolean uploadChange(FileNode root) throws ConnectionException, TCloudAplicationException;
    
    public boolean isUpdate()throws ConnectionException;
    
    public ActionPackageClient downloadChange(FileNode root)throws ConnectionException;
    
    public UserLogin login(String userName, String password) throws ConnectionException;
    
}
